package com.sdp.right.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2023-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_entity_info")
public class SysEntityInfo extends Model<SysEntityInfo> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 模块
     */
    @TableField("system_no")
    private String systemNo;

    /**
     * 数据库表名
     */
    @TableField("table_name")
    private String tableName;

    /**
     * 实体名称
     */
    @TableField("entity_class_name")
    private String entityClassName;

    /**
     * 备注
     */
    @TableField("entity_desc")
    private String entityDesc;
    
    /**
     * 实体类型
     */
    @TableField("entity_type")
    private String entityType;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
